<template>
	<view>
		<form class="padding">
			<view class="cu-form-group">
				<view class="title">展示手机号</view>
				<switch class='orange radius' @change="SwitchD" :class="switchD?'checked':''" :checked="switchD?true:false"></switch>
			</view>
			<view class="padding flex flex-direction">
				<button class="cu-btn bg-grey lg" @click="save">保存</button>
			</view>
		</form>
	</view>
</template>

<script>
	import { editPassword } from '../../api/account.js';
	export default {
		data() {
			return {
				switchD: false,
			};
		},
		methods: {
			SwitchD(e) {
				this.switchD = e.detail.value
			},
			save() {
				
			}
		}
	}
</script>

<style>

</style>
